package com.andrew.pegSolitareEngine;

import java.util.ArrayList;
import java.util.Iterator;

import android.content.Context;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.Toast;


/*This class controls the game. It will use any options to request a new board.
 */

public class GameController {
	
	private BoardFactory boardFactory;
	private Board aBoard;
	private final int SIZE_OF_BOARD = 5;  // SIZE_OF_BOARD refers the the length of one side
	
	private LinearLayout layout;
	private Context context;

	
	public GameController(LinearLayout layout,
			Context context) {
		this.layout = layout;
		this.context = context;
	}



	public void startGame(){
		boardFactory = new BoardFactory(context);
		boardFactory.createBoard(SIZE_OF_BOARD);
		aBoard = boardFactory.getBoard();
		layout.
	}
}
